package com.likan.chqjtgc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 文件上传记录表
 * </p>
 *
 * @author lxh
 * @since 2021-01-10
 */
@TableName("BASIC_FILE_LOG")
@ApiModel(value="BasicFileLog对象", description="文件上传记录表")
public class BasicFileLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "文件名称")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "源文件名称")
    @TableField("ORIG_NAME")
    private String origName;

    @ApiModelProperty(value = "后缀")
    @TableField("EXT")
    private String ext;

    @ApiModelProperty(value = "文件大小")
    @TableField("SIZE")
    private Integer size;

    @ApiModelProperty(value = "文件路径")
    @TableField("PATH")
    private String path;

    @ApiModelProperty(value = "文件描述")
    @TableField("DESCRIPTION")
    private String description;

    @ApiModelProperty(value = "1 成功 0 失败")
    @TableField(value = "STATUS", fill = FieldFill.INSERT)
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人ID")
    @TableField(value = "CREATE_USER_ID", fill = FieldFill.INSERT)
    private String createUserId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getOrigName() {
        return origName;
    }

    public void setOrigName(String origName) {
        this.origName = origName;
    }
    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }
    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }
    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    @Override
    public String toString() {
        return "BasicFileLog{" +
            "id=" + id +
            ", name=" + name +
            ", origName=" + origName +
            ", ext=" + ext +
            ", size=" + size +
            ", path=" + path +
            ", description=" + description +
            ", status=" + status +
            ", createTime=" + createTime +
            ", createUserId=" + createUserId +
        "}";
    }
}
